JavascriptDialogClosedEvent

data class JavascriptDialogClosedEvent(result: Boolean, userInput: String) : Event

Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.

Constructors

JavascriptDialogClosedEvent
Link copied to clipboard
fun JavascriptDialogClosedEvent(result: Boolean, userInput: String)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

result
Link copied to clipboard
val result: Boolean
Whether dialog was confirmed.
userInput
Link copied to clipboard
val userInput: String
User input in case of prompt.

Sources

jvm source
Link copied to clipboard